package com.df.ez_game.server.logic.status_sync.controllers.entity;

/**
 * 时间同步请求类 - 客户端发送的时间同步请求
 */
public class TimeSyncReq {
    private long requestTimestamp; // 客户端发送时间戳
    private long sequenceId;       // 序列号，用于匹配请求和响应
    
    // Getters and Setters
    public long getRequestTimestamp() {
        return requestTimestamp;
    }
    
    public void setRequestTimestamp(long requestTimestamp) {
        this.requestTimestamp = requestTimestamp;
    }
    
    public long getSequenceId() {
        return sequenceId;
    }
    
    public void setSequenceId(long sequenceId) {
        this.sequenceId = sequenceId;
    }
    
    @Override
    public String toString() {
        return "TimeSyncReq{" +
                "requestTimestamp=" + requestTimestamp +
                ", sequenceId=" + sequenceId +
                "}";
    }
}
